package com.zzl.bonds.ticket.entity.feign;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author ：hyt
 * @description：消息参数
 * @date ：2021/7/29 11:00
 */
@ApidocModel
@Data
public class SMSEmailParams implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "发送内容")
    private String content;

    @ApidocModelProperty(description = "模板id 可为空")
    private Integer templateId;

    @ApidocModelProperty(description = "邮件 标题")
    private String title;

    @ApidocModelProperty(description = "文本内容")
    private String text;

    @ApidocModelProperty(description = "邮件 内容 当选择模板是 应该传 map 进来")
    private Map<String, Object> dataMap;

    @ApidocModelProperty(description = "收件者邮箱")
    private List<String> receiveAddress = new ArrayList<>();

    @ApidocModelProperty(description = "短信接收者号码 支持对多个手机号码发送短信，手机号码之间以半角逗号（,）分隔")
    private String telephoneNumbers;
}
